package com.netty.clientserver.strategy;

import com.netty.clientserver.packet.base.Packet;
import com.netty.common.entity.User;
import com.netty.common.enums.TypeEnum;
import io.netty.channel.Channel;
import org.apache.poi.ss.formula.functions.T;

/** 策略抽象
 * @author LiuXiaoYu
 * @date 2022/2/3- 14:09
 */
public interface TypeStrategy {
    /**
     * 子类实现
     * @param type 类型枚举
     */
    Packet execute(Channel channel, String type, String content);
}
